package cn.szabadsag.hrm.mapper;

import cn.szabadsag.hrm.domain.LoginUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangcong
 * @since 2022-04-05
 */
public interface LoginUserMapper extends BaseMapper<LoginUser> {

    void saveLoginUserMeals(@Param("loginUserId") Long loginUserId, @Param("mealId") Long mealId);

    //  根据用户名查询登录信息
    LoginUser selectByUsername(String username);
}
